package com.xebest.web.mapper.write;

import com.xebest.web.model.XeVenStoreCoverAreaEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 仓库覆盖区域写入
 *
 * @author 杜春静
 */
public interface XeVenStoreCoverAreaWriteMapper {

    /**
     * 根据仓库代码删除仓库的覆盖区域  物理删除
     *
     * @author 杜春静
     */
    public int deleteByStoreId(@Param("storeId") String storeId) throws Exception;

    /**
     * 插入仓库的覆盖区域
     *
     * @author 杜春静
     */
    public int insertCoverArea(@Param("coverArealist") List<XeVenStoreCoverAreaEntity> record, @Param("storeId") String storeId) throws Exception;

    /**
     * 修改仓库的覆盖区域
     *
     * @author 杜春静
     */
    public int updateStoreCoverAreaByStoreId(XeVenStoreCoverAreaEntity entity) throws Exception;


}